package com.yc.bbs.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@TableName("tbl_user")
@AllArgsConstructor
@NoArgsConstructor
public class UserEx extends User{
    @NotEmpty(message = "确认密码不能为空!")
    @TableField(exist = false)
    String upass1;
}
